package com.gaofeng.demo16;

public class Student extends Person{
   private String gender;
   public Student(){
       super();
   }
   public  Student(String name,int age,String gender){
       super(name,age);
       this.gender = gender;
   }


   @Override
   public void say(){
       System.out.println("say "+ this.getName() +" : " + this.getName() + " " + gender);
   }
}
